﻿using System;
using System.Collections.Generic;
using System.Text;
using Lucene.Net.Index;

namespace ShootSearch.Search
{
    public class LuceneSearcher: ISearcher
    {
        IndexReader searchReader = null;

        #region ISearcher Members

        public bool Open(params object[] args)
        {

            return true;
        }

        public bool Search(string key, int pageSize, int pageIndex, out System.Data.DataTable result, out int count)
        {
            count = 0;
            result = new System.Data.DataTable();
            return true;
        }

        #endregion

        #region IConfigable Members

        public log4net.ILog Logger { get; set; }

        public ShootSearch.Core.SpiderManConfig Config
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        #endregion

    }
}
